@import './styles/iconfont.wxss';

page{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: PingFang SC, Arial, Hiragino Sans GB, Microsoft YaHei, sans-serif;
    font-size: 28rpx;
    color: #333333;
    background-color: #F6F6F6;
}
/* 初始化按钮 */
// page button {
//     padding: 0;
//     margin: 0;
//     background-color: transparent;
//     font-weight: normal;
//     font-size: 28rpx;
//     overflow: unset;
// 	margin-left: 0;
// 	margin-right: 0;
// }
// page button::after {
// 	border: none;
// }
/* 初始化按钮 */
page button {
    padding: 0;
    margin: 0;
    background-color: transparent;
    font-weight: normal;
    font-size: 28rpx;
    overflow: unset;
	margin-left: 0;
	margin-right: 0;
}
page button::after {
	border: none;
}

button[type=primary] {
	background-color: #FF2C3C;
}
.button-hover[type=primary] {
	background-color: #FF2C3C;
}
/* 按钮大小 */
button[size="xs"]{
    line-height: 58rpx;
    height: 58rpx;
    font-size: 26rpx;
    padding: 0 30rpx;
}

button[size="sm"] {
    line-height: 62rpx;
    height: 62rpx;
    font-size: 28rpx;
    padding: 0 30rpx;
}

button[size="md"]{
    line-height: 70rpx;
    height: 70rpx;
    font-size: 30rpx;
    padding: 0 30rpx;
}
button[size="lg"]{
    line-height: 80rpx;
    height: 80rpx;
    font-size: 32rpx;
    padding: 0 30rpx;
}

// 多行隐藏
.text-deal{
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

/* 定义常用的弹性布局 */
.wrap {
    flex-wrap: wrap;
}
.bold {
    font-weight: bold;
}
.row {
    display: flex;
    align-items: center;
}

.row_center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.row_end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.row_between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.row_around {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.column_center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.column_around {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.column_end {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.column_between {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.flex1{
	flex:1;
}

/* 超出隐藏 */
.line1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line2 {
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 中划线 */
.line_through {
    text-decoration: line-through;
}

.br60 {
    border-radius: 60rpx;
}


/* 定义背景颜色 */
.bg_white {
    background-color: #FFF;
}
.bg_primary {
    background-color: #FF2C3C;
}
.bg_white {
    background-color: #ffffff;
}
.bg_body {
    background-color: #F6F6F6;
}
.bg_gray {
    background-color: #E5E5E5;
}

/* 定义字体颜色 */
.primary {
    color: #FF2C3C;
}
.black {
    color: #101010;
}
.white {
    color: #ffffff;
}
.normal {
    color: #333333;
}
.lighter {
    color: #666666;
}
.muted {
    color: #999999;
}

/* 定义字体大小 */

.xxl {
    font-size: 36rpx;
}

.xl {
    font-size: 34rpx;
}

.lg {
    font-size: 32rpx;
}

.md {
    font-size: 30rpx;
}
.nr {
  font-size: 28rpx;
}
.sm {
    font-size: 26rpx;
}

.xs {
    font-size: 24rpx;
}

.xxs {
    font-size: 22rpx;
}

/* 定义常用外边距 */

.ml5 {
    margin-left: 5rpx;
}

.ml10 {
    margin-left: 10rpx;
}

.ml20 {
    margin-left: 20rpx;
}

.ml30 {
    margin-left: 30rpx;
}

.mr5 {
    margin-right: 5rpx;
}

.mr10 {
    margin-right: 10rpx;
}

.mr20 {
    margin-right: 20rpx;
}

.mr30 {
    margin-right: 30rpx;
}

.mt5 {
    margin-top: 5rpx;
}

.mt10 {
    margin-top: 10rpx;
}

.mt20 {
    margin-top: 20rpx;
}

.mt30 {
    margin-top: 30rpx;
}

.mb5 {
    margin-bottom: 5rpx;
}

.mb10 {
    margin-bottom: 10rpx;
}

.mb20 {
    margin-bottom: 20rpx;
}

.mb30 {
    margin-bottom: 30rpx;
}


//******图标******/
.icon_sm{
    min-height: 30rpx;
    min-width: 30rpx;
    height: 30rpx;
    width: 30rpx;
    vertical-align: middle;
}
.icon_md {
    min-height: 44rpx;
    min-width: 44rpx;
    height: 44rpx;
    width: 44rpx;
    vertical-align: middle;
}
.icon_lg {
    min-height: 52rpx;
    min-width: 52rpx;
    height: 52rpx;
    width: 52rpx;
    vertical-align: middle;
}
.icon_xl {
    min-height: 64rpx;
    min-width: 64rpx;
    height: 64rpx;
    width: 64rpx;
    vertical-align: middle;
}
.icon_xxl {
    min-height: 120rpx;
    min-width: 120rpx;
    height: 120rpx;
    width: 120rpx;
    vertical-align: middle;
}